using UnityEngine;
using UnityEngine.AddressableAssets;

public class Main : MonoBehaviour
{
    private string hotUpdatePrefabPath = string.Empty;
    private void Awake()
    {
        hotUpdatePrefabPath = "Assets/BundleAssets/Prefabs/GameManager.prefab";
    }
    void Start()
    {
        var prefab = Addressables.LoadAssetAsync<GameObject>(hotUpdatePrefabPath).WaitForCompletion();
        var go = GameObject.Instantiate(prefab);

        Addressables.ReleaseInstance(prefab);

    }

    // Update is called once per frame
    void Update()
    {

    }
}
